

package com.hazelcast.config;

import com.hazelcast.internal.serialization.SerializationService;
import com.hazelcast.spi.annotation.PrivateApi;

import javax.annotation.Nonnull;
import javax.annotation.Nullable;

/**
 * Accessor for package-private methods of {@link CacheConfig}.
 */
@PrivateApi
public final class CacheConfigAccessor {

    private CacheConfigAccessor() {
    }

    public static void setSerializationService(@Nonnull CacheConfig<?, ?> config, @Nullable SerializationService serializationService) {
        config.setSerializationService(serializationService);
    }
}
